package com.strategy.test;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author lzy
 * @date 2020-09-02 下午3:23
 */
public class PayState {
    private final int code;
    private final Object data;
    private final String msg;

    public PayState(int code, Object data, String msg) {
        this.code = code;
        this.data = data;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return "支付状态:[" + code + "]," + msg +
                ", 交易详情'" + data + '\'' +
                '}';
    }
}
